package com.hb.software.profit.dao;

import com.hb.software.dao.BaseDao;
import com.hb.software.entity.profit.Profit;
import com.hb.software.entity.profit.ProfitMessage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProfitDao extends BaseDao<ProfitMessage,Long> {

    public List<ProfitMessage> findByName(String name);

    public List<ProfitMessage> findByDate(String date);


}